package com.beep.erp.model.purchase;

import com.beep.erp.common.base.BaseBean;
import com.beep.erp.common.base.BasePresenter;
import com.beep.erp.common.base.BaseView;
import com.beep.erp.common.bean.PurchaseListBean;

import rx.Observable;

/**
 * FileName: TopicalContract.java
 * Author: Jolly
 * Date 2018/8/24
 */

public interface PuchaseListContract {
    interface Model {
        Observable<PurchaseListBean> getPurchaseData(String sign, String timeStamp, int status, int pageSize, int pageNo);
    }

    interface View extends BaseView {

        void getData();

        void getPurchaseData(PurchaseListBean purchaseListBean);

    }

    abstract class Presenter extends BasePresenter<Model, View> {

        public abstract void getPurchaseData(String sign, String timeStamp, int status, int pageSize, int pageNo);
    }
}
